package com.love.marriage.defaultAmountConfig.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  默认金额配置表类
 * author:       mybatisPlus
 * createDate: 2024-10-25 07:42:11
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("default_amount_config_t")
@Schema(description = "默认金额配置表")
public class DefaultAmountConfig extends BaseEntity<DefaultAmountConfig>{

    @Schema(description = "配置名称，标识配置的类型（如: 会员费、充值、置顶服务等）", type = "String", implementation = String.class)
    @TableField("config_name")
    private String configName;

    @Schema(description = "类型编码，用于唯一标识配置类型", type = "String", implementation = String.class)
    @TableField("config_code")
    private String configCode;

    @Schema(description = "默认金额", type = "BigDecimal", implementation = BigDecimal.class)
    @TableField("amount")
    private BigDecimal amount;

    @Schema(description = "配置描述或备注", type = "String", implementation = String.class)
    @TableField("`description`")
    private String description;

}
